package graph.mpg;

public class DUPair {
	private Integer defID;
	private Integer useID;
	
	private Block defBlock;
	private Block useBlock;
	
	private String define;
	
	
	
	public DUPair(Block def,Block use){
		defID = def.getid();
		useID = use.getid();
		
		this.defBlock = def;
		this.useBlock = use;
	}
	
	
	public String toString(){
		String tmp = ("( "+defID+" , "+useID+" )");
		return tmp;
	}
	
	public Integer getdefID(){
		return defID;
	}
	
	public Integer getuseID(){
		return useID;
	}
	
	public Block getdefBlock(){
		return defBlock;
	}
	
	public Block getuseBlock(){
		return useBlock;
	}
	
	public void setdefine(String def){
		this.define = def; 
	}
	
	public String getdefine(){
		return define;
	}

}
